/**********************************************************************
  The MIT License (MIT)
  Copyright (c) 2012 sunriseyuen

  Permission is hereby granted, free of charge, to any person obtaining
  a copy of this software and associated documentation files
  (the "Software"), to deal in the Software without restriction,
  including without limitation the rights to use, copy, modify, merge,
  publish, distribute, sublicense, and/or sell copies of the Software,
  and to permit persons to whom the Software is furnished to do so,
  subject to the following conditions:

  The above copyright notice and this permission notice shall be included
  in all copies or substantial portions of the Software.

  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
  OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
  DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
  TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH
  THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 ***********************************************************************/

	#define _DEF_CCY_CODE
	#define _ZZDEBUG
	#define _PROJ_DC

	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	

#region Using directives
using System;
using System.Text;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;

using Muki.Framework.Util;
using Muki.Framework.Business;
using Muki.Framework;
using Muki.UserDefine;
using Muki.Entity;
using Dot.StreamObject;

#endregion

namespace Muki.UserPanel
{
	public class UID02001BE:EntityObject
	{
				private string _UID_CODE="";
				private string _UID_DT="";
				private Int32 _SERIAL_NO=0;
				private string _TABLE_NAME="";
				private string _COLUMN_NAME="";
				private bool _COLUMN_NULLABLE=false;
				private string _LABEL_ID="";
				private string _UID_ENG_NAME="";
				private string _UID_CHS_NAME="";
				private string _BASE_COLUMN_NAME="";
				private string _BASE_TABLE_NAME="";
				private string _LNK_COLUMN_NAME="";
				private string _OPT_CODE="";
				private string _RELY_VERFY="";
				private string _RELY_DEFAULT="";
				private string _RELY_VIEW="";
				private bool _NEW_LINE=false;
				private bool _NEW_CELL=false;
				private Int32 _ROWS_SPAN=0;
				private Int32 _COLS_SPAN=0;
				private bool _ACTIVE_BIT=false;
				private bool _LINE_REVEAL=false;

				
				[AttributeMapping(TableName="ZUPRGDTM",ColumnName="UID_CODE")]
				public string UID_CODE	{	get { return _UID_CODE; }	set { _UID_CODE = value; } }
				
				[AttributeMapping(TableName="ZUPRGDTM",ColumnName="UID_DT")]
				public string UID_DT	{	get { return _UID_DT; }	set { _UID_DT = value; } }
				
				[AttributeMapping(TableName="ZUPRGDTM",ColumnName="SERIAL_NO")]
				public Int32 SERIAL_NO	{	get { return _SERIAL_NO; }	set { _SERIAL_NO = value; } }
				
				[AttributeMapping(TableName="ZUPRGDTM",ColumnName="TABLE_NAME")]
				public string TABLE_NAME	{	get { return _TABLE_NAME; }	set { _TABLE_NAME = value; } }
				
				[AttributeMapping(TableName="ZUPRGDTM",ColumnName="COLUMN_NAME")]
				public string COLUMN_NAME	{	get { return _COLUMN_NAME; }	set { _COLUMN_NAME = value; } }
				
				[AttributeMapping(TableName="ZUPRGDTM",ColumnName="COLUMN_NULLABLE")]
				public bool COLUMN_NULLABLE	{	get { return _COLUMN_NULLABLE; }	set { _COLUMN_NULLABLE = value; } }
				
				[AttributeMapping(TableName="ZUPRGDTM",ColumnName="LABEL_ID")]
				public string LABEL_ID	{	get { return _LABEL_ID; }	set { _LABEL_ID = value; } }
				
				[AttributeMapping(TableName="VARIABLE",ColumnName="UID_ENG_NAME")]
				public string UID_ENG_NAME	{	get { return _UID_ENG_NAME; }	set { _UID_ENG_NAME = value; } }
				
				[AttributeMapping(TableName="VARIABLE",ColumnName="UID_CHS_NAME")]
				public string UID_CHS_NAME	{	get { return _UID_CHS_NAME; }	set { _UID_CHS_NAME = value; } }
				
				[AttributeMapping(TableName="ZUPRGDTM",ColumnName="BASE_COLUMN_NAME")]
				public string BASE_COLUMN_NAME	{	get { return _BASE_COLUMN_NAME; }	set { _BASE_COLUMN_NAME = value; } }
				
				[AttributeMapping(TableName="ZUPRGDTM",ColumnName="BASE_TABLE_NAME")]
				public string BASE_TABLE_NAME	{	get { return _BASE_TABLE_NAME; }	set { _BASE_TABLE_NAME = value; } }
				
				[AttributeMapping(TableName="ZUPRGDTM",ColumnName="LNK_COLUMN_NAME")]
				public string LNK_COLUMN_NAME	{	get { return _LNK_COLUMN_NAME; }	set { _LNK_COLUMN_NAME = value; } }
				
				[AttributeMapping(TableName="ZUPRGDTM",ColumnName="OPT_CODE")]
				public string OPT_CODE	{	get { return _OPT_CODE; }	set { _OPT_CODE = value; } }
				
				[AttributeMapping(TableName="ZUPRGDTM",ColumnName="RELY_VERFY")]
				public string RELY_VERFY	{	get { return _RELY_VERFY; }	set { _RELY_VERFY = value; } }
				
				[AttributeMapping(TableName="ZUPRGDTM",ColumnName="RELY_DEFAULT")]
				public string RELY_DEFAULT	{	get { return _RELY_DEFAULT; }	set { _RELY_DEFAULT = value; } }
				
				[AttributeMapping(TableName="ZUPRGDTM",ColumnName="RELY_VIEW")]
				public string RELY_VIEW	{	get { return _RELY_VIEW; }	set { _RELY_VIEW = value; } }
				
				[AttributeMapping(TableName="ZUPRGDTM",ColumnName="NEW_LINE")]
				public bool NEW_LINE	{	get { return _NEW_LINE; }	set { _NEW_LINE = value; } }
				
				[AttributeMapping(TableName="ZUPRGDTM",ColumnName="NEW_CELL")]
				public bool NEW_CELL	{	get { return _NEW_CELL; }	set { _NEW_CELL = value; } }
				
				[AttributeMapping(TableName="ZUPRGDTM",ColumnName="ROWS_SPAN")]
				public Int32 ROWS_SPAN	{	get { return _ROWS_SPAN; }	set { _ROWS_SPAN = value; } }
				
				[AttributeMapping(TableName="ZUPRGDTM",ColumnName="COLS_SPAN")]
				public Int32 COLS_SPAN	{	get { return _COLS_SPAN; }	set { _COLS_SPAN = value; } }
				
				[AttributeMapping(TableName="ZUPRGDTM",ColumnName="ACTIVE_BIT")]
				public bool ACTIVE_BIT	{	get { return _ACTIVE_BIT; }	set { _ACTIVE_BIT = value; } }
				
				[AttributeMapping(TableName="ZUPRGDTM",ColumnName="LINE_REVEAL")]
				public bool LINE_REVEAL	{	get { return _LINE_REVEAL; }	set { _LINE_REVEAL = value; } }

		public List<LogisticException> Exceptions=new List<LogisticException>();

		private string _DATA_ATVT_CODE   = "";
		private string _DATA_STATUS_CODE = "Unproven";
		private string _NAVI_STATUS_CODE = "N";
		private string _ATVT_CODE        = "";
		private string _P_DATA           = "";
		private Wxf    _Wxf              = new Wxf();

		public  string DATA_STATUS_CODE { get { return _DATA_STATUS_CODE; } set { _DATA_STATUS_CODE = value; }  }
		public  string NAVI_STATUS_CODE { get { return _NAVI_STATUS_CODE; } set { _NAVI_STATUS_CODE = value; }  }
		public  string DATA_ATVT_CODE   { get { return _DATA_ATVT_CODE;   } set { _DATA_ATVT_CODE   = value; }  }
		public  string ATVT_CODE        { get { return _ATVT_CODE;        } set { _ATVT_CODE        = value; }  }
		public  string P_DATA           { get { return _P_DATA;           } set { _P_DATA = value;           }  }
		public  Wxf    Wxf              { get { return _Wxf;              } set { _Wxf = value;              }  }

		public string  PK_DATA
		{
			get
			{
				return ZZGeneral.Base64Encoder("UID_DT="+this.UID_DT); 
			}
		}

		private string _USECURITY_CODE1 = "";
		private string _USECURITY_CODE2 = "";
		private string _USECURITY_CODE3 = "";
		private string _USECURITY_CODE4 = "";
		private string _USECURITY_CODE5 = "";
		private string _USECURITY_CODE6 = "";
		private int    _USECURITY_RIGHT = 50;
		private string _UZADD_DATE      = "";
		private string _UZADD_USER      = "";
		private string _UZCHG_DATE      = "";
		private string _UZCHG_USER      = "";

		public string USECURITY_CODE1 { get { return _USECURITY_CODE1; } set { _USECURITY_CODE1 = value; }  }
		public string USECURITY_CODE2 { get { return _USECURITY_CODE2; } set { _USECURITY_CODE2 = value; }  }
		public string USECURITY_CODE3 { get { return _USECURITY_CODE3; } set { _USECURITY_CODE3 = value; }  }
		public string USECURITY_CODE4 { get { return _USECURITY_CODE4; } set { _USECURITY_CODE4 = value; }  }
		public string USECURITY_CODE5 { get { return _USECURITY_CODE5; } set { _USECURITY_CODE5 = value; }  }
		public string USECURITY_CODE6 { get { return _USECURITY_CODE6; } set { _USECURITY_CODE6 = value; }  }
		public int    USECURITY_RIGHT { get { return _USECURITY_RIGHT; } set { _USECURITY_RIGHT = value; }  }
		public string UZADD_DATE      { get { return _UZADD_DATE;      } set { _UZADD_DATE = value;      }  }
		public string UZADD_USER      { get { return _UZADD_USER;      } set { _UZADD_USER = value;      }  }
		public string UZCHG_DATE      { get { return _UZCHG_DATE;      } set { _UZCHG_DATE = value;      }  }
		public string UZCHG_USER      { get { return _UZCHG_USER;      } set { _UZCHG_USER = value;      }  }

	}
}
